#include"reader.hpp"

int main()
{
    Reader reader;
    reader.OpneFifo();
    std::string message;
    while (true)
    {
        if (reader.ReadPipe(&message) > 0)
        {
            std::cout << "client Say# " << message << std::endl;
        }
        else
        {
            break;
        }
    }
    reader.ClosePipe();
    return 0;
}